@if ($paginator->hasPages())
<div class="blog-pagebox">
    <div class="laypage-main">
        @if(!$paginator->onFirstPage())
        <a href="{{ $paginator->previousPageUrl() }}" class="laypage-prev">上一页</a>
        @endif
        <span class="laypage-curr">{{$paginator->currentPage()}}</span>
        @if ($paginator->hasMorePages())
             <a href="{{ $paginator->nextPageUrl() }}" class="laypage-next">下一页</a>
        @endif
    </div>
</div>
@endif
